package com.iotechn.unimall.data.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.domain.PurchaseOrderDO;
import com.iotechn.unimall.data.dto.purchase.PurchaseOrderDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 
 * 
 * @author hct
 * @email 77802226@qq.com
 * @date 2021-04-01 10:58:13
 */
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrderDO> {

    List<PurchaseOrderDTO> selectOrder(
            @Param("selectStr") String selectStr,
            @Param("offset") Integer offset,
            @Param("limit") Integer limit);

    PurchaseOrderDTO selectOrderById( @Param("pOrderId") Long pOrderId);
}
